/**
* eCommerce Application Sample for J2EE Training 
* Remote interface for the EcomCustomer bean
* EJB3.0 
* @author Fabienne Boyer - Didier Donsez - may 2006
*/

package ecom.beans;

import java.util.List;
import java.util.Vector;

import javax.persistence.Query;

import ecom.pojos.Product;
import ecom.pojos.TechQuestion;

public interface EcomCustomerRemote {
	public Vector<Product> getAllProducts();
	public Vector<Product> getProductsByCat(String cat);
	public Vector<Product> getProductsByBrand(String brand);
	public Vector<Product> getProductsByKeyword(String keyword); 

	public void cartAddProduct(String productId);
	public Vector<Product> cartListProduct();
	public boolean cartOrder(String email);
	public void cartRemove(String ref);
	public void cartEmpty();
	public void createTechQuestion(String ref, String question);
	public Vector<TechQuestion> getTechQuestions(String ref);
}
